package com.by.model.Service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.by.model.common.dtos.ResponseResult;
import com.by.model.common.enums.AppHttpCodeEnum;

public class Impl<M extends BaseMapper<T>,T> extends ServiceImpl<M,T> {
    protected ResponseResult paramInvalid = ResponseResult.errorResult(AppHttpCodeEnum.PARAM_INVALID);
    protected ResponseResult success = ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);
    protected ResponseResult dataNotExist=ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
}
